package com.foreverwin.mes.integration.soap.materialissue.dto;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.util.List;

/**
 * @author Ervin Chen
 * @date 2020/1/13 17:39
 */
@XmlAccessorType( XmlAccessType.FIELD )
@XmlType(name = "MaterialIssueRequest", propOrder = {
        "transactionId",
        "transactionTime",
        "documentYear",
        "documentNo",
        "documentItems"
})
public class MaterialIssueRequest {

    @XmlElement(name = "transactionId", required = true)
    private String transactionId;

    @XmlElement(name = "transactionTime", required = true)
    private String transactionTime;

    @XmlElement(name = "documentYear", required = true)
    private String documentYear;

    @XmlElement(name = "documentNo", required = true)
    private String documentNo;

    @XmlElement(name = "documentItems", required = true)
    private List<DocumentItem> documentItems;

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public String getTransactionTime() {
        return transactionTime;
    }

    public void setTransactionTime(String transactionTime) {
        this.transactionTime = transactionTime;
    }

    public String getDocumentYear() {
        return documentYear;
    }

    public void setDocumentYear(String documentYear) {
        this.documentYear = documentYear;
    }

    public String getDocumentNo() {
        return documentNo;
    }

    public void setDocumentNo(String documentNo) {
        this.documentNo = documentNo;
    }

    public List<DocumentItem> getDocumentItems() {
        return documentItems;
    }

    public void setDocumentItems(List<DocumentItem> documentItems) {
        this.documentItems = documentItems;
    }
}
